﻿

namespace Cid
{
	using System;
	using System.Collections.Generic;
	using System.Linq;
	using System.Reflection;
	using System.Text;

	public static class ObjectMixins
	{
		public static T DefaultValue<T>(this object obj, T value)
		{
			return (obj != null) ? (T)obj : value;
		}
	}
}
